#pragma once
#include "framework.h"

using namespace poly;

class GeomEffect
{
public:
	GeomEffect( poly::D3DDevice device );
	GeomEffect();
	~GeomEffect(void);

	void initialize( poly::D3DDevice device );
	void destroy();

	void setColor( poly::float4 const & col );
	void setWorldViewProj( poly::float44 const & mat );

	poly::Effect effect();

private:
	D3DDevice		m_device;
	Effect			m_effect;
	EffectHandle	m_colorHandle;
	EffectHandle	m_worldViewProjHandle;
};
